using System;

namespace Sedna.Core.Controller.Configurations
{
	/// <summary>
	/// generic interface for different sort of buttons configuration
	/// those which have CommandName and CommandArgument parameters.
	/// Apart from those, directly supported by ASP.Net evetn mechanism, 
	/// one more called JScriptCommand is supported.
	/// 
	/// </summary>
    public interface ICommandConfiguration : IClientScriptingConfiguration
	{
        string OnClick
        {
            get;
        }
	    
	    
		string CommandName
		{
			get;
		}

		string JScriptCommandName
		{
			get;
		}


		ICommandArgumentGenerator CommandArgumentGenerator
		{
			get;
		}

		bool DefaultOnEnter
		{
			get;
		}

	}
}
